//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.rjxy.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    public PageController() {
    }

    @RequestMapping({"/home"})
    public String home() {
        return "home";
    }

    @RequestMapping({"/login"})
    public String login() {
        return "login";//这个太坑了，不能用/WEB-INF/login.jsp，否则会报错
    }

    @RequestMapping({"/register"})
    public String register() {
        return "register";
    }


}
